<%@ page import="com.hxq.library.controller.RegisterServlet" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    if (RegisterServlet.rgs() ==true){
        response.sendRedirect("" +
                request.getContextPath() +
                "/management.jsp");
    }else {
        out.print("<script>alert(\"您输入的用户名或密码有误请重新输入！！！\");" +
                "window.location='" +
                request.getContextPath() +
                "/index.jsp'</script>");
    }
%>
</body>
</html>

